import axios from "./index";

export const http_demo1 = params => {
    return axios({
        url: "/api/demo1",
        method: "GET",
        params
    })
}

export const http_demo2 = data => {
    return axios({
        url: "/api/demo2",
        method: "POST",
        data
    })
}